﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Framework.Logic.Settings
{
    public class DataAccess
    {
        public static string GetAllocatedRAM()
        {
            return config.Default.AllocatedRAM ?? "";
        }

        public static void SaveAllocatedRAM(string strRAM)
        {
            config.Default.AllocatedRAM = strRAM;
            config.Default.Save();
        }

        public static string GetFileLocation()
        {
            return config.Default.FileLocation;
        }

        public static void SaveFileLocation(string strLocation)
        {
            config.Default.FileLocation = strLocation;
            config.Default.Save();
        }
    }
}
